﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace PhanMemBus
{
    public class LyThuyetBUS
    {
        private PhanMemDao.LyThuyetDAO thDao = new PhanMemDao.LyThuyetDAO();
       
        public DataTable ten_chuong()
        {
            return thDao.ten_chuong();
        }
        public DataTable NoiDungBH(string tenBai)
        {
            return thDao.NoiDungBaiHoc(tenBai);
        }
        public void GhiNho(string tenchuong, string tenbai, string ghinho)
        {
            thDao.GhiNho(tenchuong, tenbai, ghinho);
        }
        public DataTable tenBaiViet(string tenchuong)
        {
            return thDao.ten_bai_ghinho(tenchuong);
        }
       
        public DataTable HienGhiNho(string tenchuong, string tenbai)
        {
            return thDao.HienGhiNho(tenchuong, tenbai);
        }
        public DataTable TimKiemTV(string tenTV)
        {
            return thDao.TimKiemTV(tenTV);
        }
        public DataTable TimKiemBV(string loai, string tenBV)
        {

            return thDao.TimKiemBV(loai,tenBV);
        }
        // Them vao tam thoi
        public void Themvidu(string tenchuong, string tenbai, string ghinho)
        {
            thDao.themvidu(tenchuong, tenbai, ghinho);
        }
    }
}
